package com.jh.readme.iu.activity.home;

import com.jh.tools.base.BaseModel;
import com.jh.tools.base.BasePresenter;
import com.jh.tools.base.BaseView;

/**
 * Home抽象类
 */
public interface HomeContract {
    interface Model extends BaseModel {

    }


    interface View extends BaseView {

    }

    abstract class Presenter extends BasePresenter<Model, View> {
        /**
         * 根据按钮的ID切换不同的界面
         */
     public abstract void switchUiById(int id);

        /**
         * 根据操作的ID打开不同的UI
         * @param id
         */
     public abstract void onOptionsItemSelected(int id);
    }
}